package com.xing.oauth.server.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: xingfuhao
 * @Date: 2022/04/25/14:47
 */
public class OauthDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 授权码
     */
    private String authCode;

    /**
     * 用户ID
     */
    private String nlcId;

    /**
     * 授权码生成时间
     */
    private Date createDt;

    /**
     * 解除绑定令牌
     */
    private String aligenieToken;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getNlcId() {
        return nlcId;
    }

    public void setNlcId(String nlcId) {
        this.nlcId = nlcId;
    }

    public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    public String getAligenieToken() {
        return aligenieToken;
    }

    public void setAligenieToken(String aligenieToken) {
        this.aligenieToken = aligenieToken;
    }

    @Override
    public String toString() {
        return "OauthDto{" +
                "authCode='" + authCode + '\'' +
                ", nlcId='" + nlcId + '\'' +
                ", createDt=" + createDt +
                ", aligenieToken='" + aligenieToken + '\'' +
                '}';
    }
}
